package com.ruoyi.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ApiByPhoneAddDto extends ApiDto {
    @NotBlank(message = "商户订单号不能为空")
    @ApiModelProperty(value = "商户订单号", required = true)
    private String phone;
    @ApiModelProperty(value = "转账金额", required = true)
    private BigDecimal amount;
    @ApiModelProperty(value = "通道编码")
    private String channelCode;

    @ApiModelProperty(value = "商户订单号", required = true)
    private String merchantOrderNo;

    @ApiModelProperty(value = "回调地址", required = true)
    private String notifyUrl;

}
